package com.flyme.module.base.provider.service.impl;

import cn.hutool.core.collection.CollectionUtil;
import com.flyme.common.core.constants.CommonConstants;
import com.flyme.common.core.utils.ApiAssert;
import com.flyme.common.core.utils.ObjectUtils;
import com.flyme.core.base.supper.service.impl.BaseServiceImpl;
import com.flyme.module.base.client.entity.SysCompany;
import com.flyme.module.base.client.entity.SysCompanytop;
import com.flyme.module.base.client.entity.SysUser;
import com.flyme.module.base.client.entity.SystemAccount;
import com.flyme.module.base.client.event.UserRegEvent;
import com.flyme.module.base.provider.mapper.SysCompanyMapper;
import com.flyme.module.base.provider.mapper.SysCompanytopMapper;
import com.flyme.module.base.provider.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SysCompanytopServiceImpl extends BaseServiceImpl<SysCompanytopMapper, SysCompanytop> implements SysCompanytopService {

    /**
     * 根据企业名称模糊查询世界五百强
     */
    public List<Map<String, Object>> selectByName(String companyName) {
        return listMaps(q().like("companyName", companyName));
    }


}
